package com.bci.pwtz.service;

import com.bci.pwtz.exception.PwtzDatabaseException;

public interface BusinessCommonService
{
    String getDeviceName(Long deviceTypeId,String deviceId) throws PwtzDatabaseException;

    /**
     * 
     * 一句话描述 <br/>
     * <p>Description: TODO(详细描述) 
     * <br/>
     * <p>Author: tonic<br/>
     * <p>Date: 2015-2-11-下午2:53:33<br/>
     * <p>
     * @param deviceTypeId
     * @param deviceTypeId
     * @param deviceName
     * @return
     * @throws PwtzDatabaseException   
     *
     */
    int getCountByDeviceName(Long companyId,Long deviceTypeId, String deviceName) throws PwtzDatabaseException;

    /**
     * 一句话描述 <br/>
     * <p>Description: TODO(详细描述) 
     * <br/>
     * <p>Author: tonic<br/>
     * <p>Date: 2015-1-31-上午10:36:38<br/>
     * <p>
     * @param deviceTypeId
     * @param deviceName
     * @param deviceId
     * @return
     * @throws PwtzDatabaseException   
     * 
     */
    int getCountByDeviceName(Long companyId,Long deviceTypeId, String deviceName, String deviceId) throws PwtzDatabaseException;
}
